package Util;

import org.apache.poi.xssf.usermodel.XSSFCellStyle;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.io.File;
import java.util.List;

public class TemplateInfo {

    //写入文件
    private File file;

    //从n行开始写入
    private int writeRow;

    //从第一次开始写入的行
    private int firstWriteRow;

    //写页
    private int writeSheet;

    //写入数据
    private List datas;

    //数据属性名称
    private String[] dataName;

    //单元格样式
    private List<XSSFCellStyle> cellStyles;

    //单元格高度
    private short rowHeight;

    //文件流
    private XSSFWorkbook xssfWorkbook;
    //列宽
    private List<Integer> columnWidth;

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public int getWriteRow() {
        return writeRow;
    }

    public void setWriteRow(int writeRow) {
        this.writeRow = writeRow;
    }

    public int getFirstWriteRow() {
        return firstWriteRow;
    }

    public void setFirstWriteRow(int firstWriteRow) {
        this.firstWriteRow = firstWriteRow;
    }

    public int getWriteSheet() {
        return writeSheet;
    }

    public void setWriteSheet(int writeSheet) {
        this.writeSheet = writeSheet;
    }

    public List getDatas() {
        return datas;
    }

    public void setDatas(List datas) {
        this.datas = datas;
    }

    public String[] getDataName() {
        return dataName;
    }

    public void setDataName(String[] dataName) {
        this.dataName = dataName;
    }

    public List<XSSFCellStyle> getCellStyles() {
        return cellStyles;
    }

    public void setCellStyles(List<XSSFCellStyle> cellStyles) {
        this.cellStyles = cellStyles;
    }

    public short getRowHeight() {
        return rowHeight;
    }

    public void setRowHeight(short rowHeight) {
        this.rowHeight = rowHeight;
    }

    public XSSFWorkbook getXssfWorkbook() {
        return xssfWorkbook;
    }

    public void setXssfWorkbook(XSSFWorkbook xssfWorkbook) {
        this.xssfWorkbook = xssfWorkbook;
    }

    public List<Integer> getColumnWidth() {
        return columnWidth;
    }

    public void setColumnWidth(List<Integer> columnWidth) {
        this.columnWidth = columnWidth;
    }
}
